<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <title>酒店后台管理系统</title>
 	<link rel="stylesheet" type="text/css" href="css/bootstrap-combined.min.css">
	<script type="text/javascript" src="bootstrap/jquery.min.js"></script>
	<script type="text/javascript" src="bootstrap/popper.min.js"></script>
	<script type="text/javascript" src="bootstrap/bootstrap.min.js"></script>
	<link rel="stylesheet" href="css/layoutit.css" />
	<link rel="stylesheet" href="css/layui.css">
</head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
  <div class="layui-header">
    <div class="layui-logo">酒店后台管理系统</div>
    <!-- 头部区域（可配合layui已有的水平导航） -->
    <ul class="layui-nav layui-layout-left">
      <!-- <li class="layui-nav-item"><a href="">订单管理</a></li>
      <li class="layui-nav-item"><a href="">营业查询</a></li>
      <li class="layui-nav-item"><a href="">系统设置</a></li>
      <li class="layui-nav-item">
        <a href="javascript:;">其它系统</a> -->
        <dl class="layui-nav-child">
          <dd><a href="test.html">邮件管理</a></dd>
          <dd><a href="">消息管理</a></dd>
          <dd><a href="">授权管理</a></dd>
        </dl>
      </li>
    </ul>
    <ul class="layui-nav layui-layout-right">
      <li class="layui-nav-item">
        <a href="javascript:;">
          <img src="http://t.cn/RCzsdCq" class="layui-nav-img">
          贤心
        </a>
        <dl class="layui-nav-child">
          <!-- <dd><a href="">消息<span class="layui-badge">99+</span></a></dd> -->
        </dl>
      </li>
      <li class="layui-nav-item"><a href="logout">退了</a></li>
    </ul>
  </div>
  
  <div class="layui-side layui-bg-black">
    <div class="layui-side-scroll">
      <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
      <ul class="layui-nav layui-nav-tree"  lay-filter="test">
        <li class="layui-nav-item">
          <a class="" href="javascript:;">订单管理</a>
          <dl class="layui-nav-child">
            <dd><a href="javascript:;">线下开单</a></dd>
            <dd><a href="javascript:;">宾客退房</a></dd>
            <dd><a href="javascript:;">查看订单</a></dd>
          </dl>
        </li>
        <li class="layui-nav-item">
          <a href="javascript:;">营业查询</a>
          <dl class="layui-nav-child">
            <dd><a href="selguest.html">入住宾客查询</a></dd>
            <dd><a href="turnover.html">日/月营业查询</a></dd>
          </dl>
        </li>
        <li class="layui-nav-item layui-nav-itemed">
          <a href="javascript:;">系统设置</a>
          <dl class="layui-nav-child">
            <dd><a href="vip.html">VIP设置</a></dd>
        		<dd><a href="discount.html">计费设置</a></dd>
        		<dd><a href="room.html">房间设置</a></dd>
            <dd><a href="javascript:;">数据管理</a></dd>
						<dd><a href="admin.html">操作员设置</a></dd>
          </dl>
        </li>
        <li class="layui-nav-item"><a href="/html/confirm.html">推送消息<span class="layui-badge">9</span></a></li>
      </ul>
    </div>
  </div>
  
  <div class="layui-body">
    <!-- 内容主体区域 -->
	<div class="container-fluid">
	<div id="add" style="position: absolute;display: none;margin-top: 40px;background: #009E94;left: 440px;">
		<form class="form-horizontal" id="add_member">
			<div style="height: 40px; margin-left: 230px;font-size: 20px;">添加VIP</div>
			<div class="control-group">
				<p style=""><label class="control-label" contenteditable="true">账户</label></p>
				<div class="controls" style=""><input name="mname" type="text" placeholder="请输入账户"/></div>
			</div>

			<div class="control-group">
				<p style=""><label class="control-label" contenteditable="true" >电话</label></p>
				<div class="controls" style=""><input name="mtel"  type="text"  placeholder="请输入电话信息"/></div>
			</div>
			
			<div class="control-group">
				<p style=""><label class="control-label" contenteditable="true" >身份证</label></p>
				<div class="controls" style=""><input name="midcard"  type="text"  placeholder="请输入身份证信息"/></div>
			</div>
			
			<div class="control-group">
				<p style=""><label class="control-label" contenteditable="true" >VIP等级</label></p>
				<select name="mtype" lay-verify="" style="width:220px;margin-left: 20px;">
					<option value="普通会员" selected>普通会员</option>
					<option value="银卡会员">银卡会员</option>
					<option value="金卡会员">金卡会员</option>
					<option value="白金卡会员">白金卡会员</option>
	 			</select>  
			</div>
			<div class="control-group">
				<div class="controls" style="margin-left: 150px;">
					<div class="span2">
					 <button class="btn btn-block" type="button" style="width: 50px" type="submit"  id="add_ok">添加</button>
					</div>
				<div class="span2">
					 <button class="btn btn-block sysclose" type="button" style="width: 50px; margin-left: -70px;" >取消</button>
				</div>
				</div>
			</div>
		</form>
</div>
<div id="edit" style="position: absolute;display: none;margin-top: 40px;background: #5BC0DE;left: 440px;">
		<form class="form-horizontal">
			<div style="height: 40px; margin-left: 230px;font-size: 20px;">编辑账户</div>
			<div class="control-group">
				<p style=""><label class="control-label" contenteditable="true">VIP编号</label></p>
				<div class="controls" style=""><input id="edit_mnumber" readonly unselectable="on" type="text" /></div>
			</div>
			
			<div class="control-group">
				<p style=""><label class="control-label" contenteditable="true">VIP姓名</label></p>
				<div class="controls" style=""><input id="edit_mname"  type="text" /></div>
			</div>

			<div class="control-group">
				<p style=""><label class="control-label" contenteditable="true" >VIP电话</label></p>
				<div class="controls" style=""><input id="edit_mtel"  type="text" /></div>
			</div>
			<div class="control-group">
				<p style=""><label class="control-label" contenteditable="true" >VIP等级</label></p>
				<select id="edit_mtype" lay-verify="" style="width:220px;margin-left: 20px;" placeholder="请输入角色">
					<option value="普通会员" selected>普通会员</option>
					<option value="银卡会员">银卡会员</option>
					<option value="金卡会员">金卡会员</option>
					<option value="白金卡会员">白金卡会员</option>
	 			</select>  
			</div>
			<div class="control-group">
				<div class="controls" style="margin-left: 150px;">
					<div class="span2">
					 <button id="edit_ok" class="btn btn-block" type="button" style="width: 50px" type="submit" >确定</button>
					</div>
				<div class="span2">
					 <button class="btn btn-block sysclose" type="button" style="width: 50px; margin-left: -70px;">取消</button>
				</div>
				</div>
			</div>
		</form>
</div>
<div id="del" style="position: absolute;display: none;margin-top: 40px;background: #D0D0D0;left: 440px;height: 240px;">
	<div style="height: 40px; margin-left: 230px;font-size: 20px;margin-top: 30px;">确定删除？</div>
			<div class="control-group">
				<div class="controls" style="margin-left: 150px;margin-top: 40px;">
					<div class="span2">
					 <button class="btn btn-block" type="button" style="width: 50px" type="submit"  id="del_ok">确定</button>
					</div>
				<div class="span2">
					 <button class="btn btn-block sysclose" type="button" style="width: 50px; margin-left: -70px;">取消</button>
				</div>
				</div>
			</div>
			<input type="hidden"/>
</div>
	<div class="row-fluid" style="margin-top: 40px;">
		<div class="span12">
			<div class="row-fluid">
				<div class="span2">
					 <button class="btn btn-block" type="button" style="width: 80px" id="add_btn">添加</button>
				</div>
				<div class="span6">
						<input class="input-medium search-query" type="text" id="search_message"/> <button type="submit" class="btn" id="search_ok">查找</button>
				</div>
				<div class="span4">
				</div>
			</div>
			<table class="table table-hover" style="margin-top: 30px;" >
				<thead>
					<tr>
						<th>
							VIP编号
						</th>
						<th>
							VIP名
						</th>
						<th>
							VIP电话
						</th>
						<th>
							VIP身份证
						</th>
						<th>
							VIP等级
						</th>
						<th>
							操作
						</th>
					</tr>
				</thead>
				<tbody id="showmember">
				</tbody>
			</table>
		</div>
	</div>
</div>
</div>
<table class="layui-hide" id="test" lay-filter="test"></table>
          
<script src="layui.js" charset="utf-8"></script>
<!-- 注意：如果你直接复制所有代码到本地，上述js路径需要改成你本地的 --> 
 
</div>
  </div>
  
  <div class="layui-footer">
    <!-- 底部固定区域 -->
    © layui.com - 底部固定区域
  </div>
</div>
<script src="layui.js"></script>
<script>
//JavaScript代码区域
layui.use('element', function(){
  var element = layui.element;
  
});
</script>
<script type="text/javascript" src="js/vip.js"></script>
</body>
</html>